mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 13 Oct 2023 16:25:00 +0000 (16:25 +0000)
committerAndres Salomon <dilinger@debian.org>
Fri, 13 Oct 2023 16:25:00 +0000 (16:25 +0000)
commit2828e072da7473f420635c48f7f3860a937f669a
tree190430fed08cc47e5a274f0d856823d25158c7fd
parent9c545a154a32e588f8f4d9d5958db6daa685038e
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h